#
# Makefile initiativeTracker c++ implementation
#

LDFLAGS= 
INCPATH= include		# path to engine includes

SOURCES= Character.cpp CharGen.cpp ClientServer.cpp FIOController.cpp Initiative.cpp \
 InitTracker.cpp reader.cpp Trap.cpp XIOController.cpp xmlHandler.cpp

EXEC= initTracker
MAIN= main.cpp
OBJECTS= $(SOURCES:.cpp=.o)

CC= g++ -std=c++11 -I ./include

all: $(EXEC)

$(EXEC): $(ENG) $(OBJECTS)
	$(CC) -o $(EXEC) $(MAIN) $(OBJECTS) $(LDFLAGS)

.cpp.o: 
	$(CC) -c '$<'

clean:
	rm -rf $(OBJECTS) $(EXEC)
